package com.szzg10.webservice.chapter5;

import javax.jws.WebMethod;
import javax.jws.WebService;

@WebService(endpointInterface = "com.szzg10.webservice.chapter5.TempConvertAuth")
public class TempConvertAuthImpl implements TempConvertAuth {

	@Override
	@WebMethod
	public float f2c(float t) {
		return (5.0f / 9.0f) * (t - 32.0f);
	}

	@Override
	@WebMethod
	public float c2f(float t) {
		return 32.0f + (t * 9.0f / 5.0f);
	}

}
